package cn.stylefeng.guns.modular.level.pojo.request;

import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * 封装类
 *
 * @author xbz
 * @date 2023/04/19 10:35
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class LevelRequest extends BaseRequest {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = {edit.class, delete.class})
    @ChineseDescription("")
    private Integer id;

    /**
     * 
     */
    @ChineseDescription("")
    private String name;

    /**
     * 
     */
    @ChineseDescription("")
    private Integer score;

    /**
     * 
     */
    @ChineseDescription("")
    private String grade;

    /**
     * 
     */
    @ChineseDescription("")
    private Integer flag;

}
